package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery1;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreRepository {

    List<StorePO> list(StoreQuery query);

    void addStore(StorePO po);

    List<StoreVO> listById(AreaStoreQuery1 query);

    void deleteStore(Integer id);

    void updateStore(StorePO store);

    ;
}